package com.example.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Map;

public class WechatTemplate {
    /**
     * 微信用户openID
     */
    @JsonProperty("touser")
    private String toUser;
    /**
     * 模板id
     */
    @JsonProperty("template_id")
    private String templateId;
    /**
     * 路径url
     */
    private String url;
    /**
     * 请求参数
     */
    private Map<String, TemplateData> data;

    public WechatTemplate() {
    }

    public String getToUser() {
        return this.toUser;
    }

    public void setToUser(String toUser) {
        this.toUser = toUser;
    }

    public String getTemplateId() {
        return this.templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public String getUrl() {
        return this.url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Map<String, TemplateData> getData() {
        return this.data;
    }

    public void setData(Map<String, TemplateData> data) {
        this.data = data;
    }
}
